$OpenBSD: patch-src_lid_c,v 1.1 2007/07/04 16:39:41 sturm Exp $
--- src/lid.c.orig	Wed Jul  4 18:33:25 2007
+++ src/lid.c	Wed Jul  4 18:33:45 2007
@@ -609,7 +609,7 @@ report_edit (char const *name, struct file_link **flin
 
   if (eid_arg == 0)
     {
-      int using_vi = strequ ("vi", basename (editor));
+      int using_vi = strnequ ("vi", basename (editor), 2);
 
       eid_arg = getenv ("EIDARG");
       if (eid_arg == 0)
